package com.qiyu.model.response.backend;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qiyu.common.RPage;
import com.qiyu.model.common.OnlineNumResponse;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * 度假区产品 管理 分页响应体
 *
 * @Author: tiancheng
 * @date: 2020/8/3 10:55
 */
@Data
@ApiModel("度假区产品 管理 分页响应体")
@EqualsAndHashCode(callSuper = true)
public class AdminResortProductPageResponse extends RPage<AdminResortProductResponse> {
    
    @ApiModelProperty("上下线数量")
    private OnlineNumResponse response;
    
    public AdminResortProductPageResponse(IPage<AdminResortProductResponse> page) {
        super(page);
    }
    
    
    public AdminResortProductPageResponse(IPage<AdminResortProductResponse> page, OnlineNumResponse response) {
        super(page);
        this.response = response;
    }
    
}
